package artifacts;

import java.util.Random;

import maze.*;

public abstract class Artifact {
	
	public String name = "artifact";
	public int cost = 1;
	
	public int getCost() {
		return this.cost;
	}
	
	public static void addArtsToMaze(Maze maze) {
		for(Room room : maze.rooms) {
			room.items.clear();
			Random rnd = new Random();
			for(int x = 0; x < rnd.nextInt(3); x++) {
				Coin coin = new Coin();
				room.items.add(coin);
			}
			for(int x = 0; x < rnd.nextInt(3); x++) {
				Goblet goblet = new Goblet();
				room.items.add(goblet);
			}
		}
	}	
}
